Optimal. Leaf size=49 \[ -\frac {b^2}{4 a^3 \left (b+a x^2\right )^2}+\frac {b}{a^3 \left (b+a x^2\right )}+\frac {\log \left (b+a x^2\right )}{2 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {269, 272, 45}
\begin {gather*} -\frac {b^2}{4 a^3 \left (a x^2+b\right )^2}+\frac {b}{a^3 \left (a x^2+b\right )}+\frac {\log \left (a x^2+b\right )}{2 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 269
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{\left (a+\frac {b}{x^2}\right )^3 x} \, dx &=\int \frac {x^5}{\left (b+a x^2\right )^3} \, dx\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {x^2}{(b+a x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {b^2}{a^2 (b+a x)^3}-\frac {2 b}{a^2 (b+a x)^2}+\frac {1}{a^2 (b+a x)}\right ) \, dx,x,x^2\right )\\ &=-\frac {b^2}{4 a^3 \left (b+a x^2\right )^2}+\frac {b}{a^3 \left (b+a x^2\right )}+\frac {\log \left (b+a x^2\right )}{2 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 39, normalized size = 0.80 \begin {gather*} \frac {\frac {b \left (3 b+4 a x^2\right )}{\left (b+a x^2\right )^2}+2 \log \left (b+a x^2\right )}{4 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 46, normalized size = 0.94
method | result | size |
norman | \(\frac {\frac {b \,x^{2}}{a^{2}}+\frac {3 b^{2}}{4 a^{3}}}{\left (a \,x^{2}+b \right )^{2}}+\frac {\ln \left (a \,x^{2}+b \right )}{2 a^{3}}\) | \(42\) |
risch | \(\frac {\frac {b \,x^{2}}{a^{2}}+\frac {3 b^{2}}{4 a^{3}}}{\left (a \,x^{2}+b \right )^{2}}+\frac {\ln \left (a \,x^{2}+b \right )}{2 a^{3}}\) | \(42\) |
default | \(-\frac {b^{2}}{4 a^{3} \left (a \,x^{2}+b \right )^{2}}+\frac {b}{a^{3} \left (a \,x^{2}+b \right )}+\frac {\ln \left (a \,x^{2}+b \right )}{2 a^{3}}\) | \(46\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 55, normalized size = 1.12 \begin {gather*} \frac {4 \, a b x^{2} + 3 \, b^{2}}{4 \, {\left (a^{5} x^{4} + 2 \, a^{4} b x^{2} + a^{3} b^{2}\right )}} + \frac {\log \left (a x^{2} + b\right )}{2 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 69, normalized size = 1.41 \begin {gather*} \frac {4 \, a b x^{2} + 3 \, b^{2} + 2 \, {\left (a^{2} x^{4} + 2 \, a b x^{2} + b^{2}\right )} \log \left (a x^{2} + b\right )}{4 \, {\left (a^{5} x^{4} + 2 \, a^{4} b x^{2} + a^{3} b^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 53, normalized size = 1.08 \begin {gather*} \frac {4 a b x^{2} + 3 b^{2}}{4 a^{5} x^{4} + 8 a^{4} b x^{2} + 4 a^{3} b^{2}} + \frac {\log {\left (a x^{2} + b \right )}}{2 a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.04, size = 42, normalized size = 0.86 \begin {gather*} \frac {\log \left ({\left | a x^{2} + b \right |}\right )}{2 \, a^{3}} - \frac {3 \, a x^{4} + 2 \, b x^{2}}{4 \, {\left (a x^{2} + b\right )}^{2} a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.11, size = 52, normalized size = 1.06 \begin {gather*} \frac {\frac {3\,b^2}{4\,a^3}+\frac {b\,x^2}{a^2}}{a^2\,x^4+2\,a\,b\,x^2+b^2}+\frac {\ln \left (a\,x^2+b\right )}{2\,a^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________